﻿@model ChangePasswordModel
@using Nop.Web.Models.Customer;
@{
    Layout = "~/Themes/CNet/Shared/_HomePage_SubTwo.cshtml";
    //title
    Html.AddTitleParts(T("PageTitle.Account").Text);
}
@using Nop.Web.Framework;
@section userInfo
{
    <div class="user_name_left">
<p><b>@Model.CustomerModel.Username</b><br />
手机号码：@Model.CustomerModel.Phone<br />
地址：@Model.CustomerModel.StreetAddress</p>
</div>
<div class="user_name_right">设置</div>>
}
@section left
{
@Html.Partial("MyMenuNavigation", Model.NavigationModel, new ViewDataDictionary())
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="message-error">
@Html.ValidationSummary(true)
</div>
    <div class="user_right_xx">
<div class="user_right_xx_table_div">
<div class="login_nr">
<table width="0" border="0">
<tr>
<td>@Html.LabelFor(model => model.OldPassword):</td>
<td>@Html.EditorFor(model => model.OldPassword)
@Html.ValidationMessageFor(model => model.OldPassword)</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="td_slogin">输入登陆的密码</td>
</tr>
<tr>
<td>@Html.LabelFor(model => model.NewPassword):</td>
<td>@Html.EditorFor(model => model.NewPassword)
@Html.ValidationMessageFor(model => model.NewPassword)</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="td_slogin">请输入密码，六位数以上</td>
</tr>
<tr>
<td>@Html.LabelFor(model => model.ConfirmNewPassword):</td>
<td>@Html.EditorFor(model => model.ConfirmNewPassword)
@Html.ValidationMessageFor(model => model.ConfirmNewPassword)</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="td_slogin">请确认新密码</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="td_button">
<input type="image" src="@Url.Content("~/themes/cnet/content/image/OK.gif")" class="changepasswordbutton" value="@T("Account.ChangePassword.Button")" />
</td>
</tr>
</table>
</div>
</div>
</div> 
}